import bannerController from '../controller/banner-controller';

export default [
  // web端
  {
    path: '/web/banner/addBanner',
    method: 'post',
    action: bannerController.addBanner
  },
  {
    path: '/web/banner/delBanner',
    method: 'post',
    action: bannerController.delBanner
  },

  // 小程序端
  {
    path: '/applet/banner/searchBanner',
    method: 'post',
    action: bannerController.searchBanner
  },
];
